17. Applications of Differential Equations

d. A Robot Car

Contributed by David Barrow

We will consider a factory which uses a robotic car to move along a linear track on the plant floor to pick up and deliver parts to various locations. The car moves along a straight path on the floor which contains magnetically encoded speed instructions which the car is able to sense. In other words, if we let \(x\) denote the distance along the path from some fixed starting point, then the robot is to move with velocity \(\dfrac{dx}{dt}=v(x)\) with a specific function \(v(x)\). The dependence of \(v\) on \(x\) reflects the fact that the speed instruction is encoded in the floor at position \(x\).

Suppose the speed of a robot car at position \(x\) is \(v(x)=\dfrac{10}{3x^2+1}\,\dfrac{\text{m}}{\text{sec}}\) and it travels from \(x=0\) to \(x=5\) m. Find the total elapsed time.

The position of the robot can be obtained from the initial value problem: \[ \dfrac{dx}{dt}=v(x)=\dfrac{10}{3x^2+1} \qquad \text{with} \qquad x(0)=0 \] The solution is obtained by separation of variables: \[ \int (3x^2+1)\,dx=\int 10\,dt \qquad \Longrightarrow \qquad x^3+x=10t+C \] Using the initial condition, \(x=0\) when \(t=0\), we find \(C=0\). So the solution is \[ x^3+x=10t \] Solving for \(t\) we have: \[ t=\dfrac{x^3+x}{10} \] Since the total elapsed distance is \(x=5\) m, the total elapsed time is: \[ t=\dfrac{5^3+5}{10}=13\,\text{sec} \]

Suppose the speed of a robot car is \(v(x)=\dfrac{x^2+1}{4} \dfrac{\text{m}}{\text{sec}}\) and it travels a total distance of \(6\) m starting from an initial position of \(x(0)=1\) m. Find the total elapsed time.

Since the car starts at \(x(0)=1\) m and travels \(6\) m, the final position is \(x(t)=7\) m.

\(t=4\arctan 7-\pi\approx2.574\) sec

The position satisfies \[ \dfrac{dx}{dt}=v(x)=\dfrac{x^2+1}{4} \] We separate variables and integrate: \[ \int \dfrac{dx}{x^2+1}=\int \dfrac{1}{4}\,dt \qquad \Longrightarrow \qquad \arctan x=\dfrac{t}{4}+C \] Using the initial condition \(x=1\) when \(t=0\), we have \[ \arctan 1=C \qquad \Longrightarrow \qquad C=\dfrac{\pi}{4} \] So the solution is \[ \arctan x=\dfrac{t}{4}+\dfrac{\pi}{4} \qquad \Longrightarrow \qquad t=4\arctan x-\pi \] Since the car starts at \(x(0)=1\) m and travels \(6\) m, the final position is \(x(t)=7\) m which occurs at time: \[ t=4\arctan 7-\pi\approx2.574\,\text{sec} \]

© MYMathApps

Supported in part by NSF Grant #1123255